<template>
	<div class="">
		<div class="d1">
			<div class="d1_1">
				<i class="iconfont icon-fuwuqi"></i>
			</div>
			<div class="d1_2">
				<div class="d1_2_1">{{list.zongNum}}</div>
				<div class="d1_2_2">服务数</div>
			</div>
			
		</div>
		<div class="d2">
			<div class="d2_1">{{list.inNum}}</div>
			<div class="d2_2">内联服务数</div>
			
		</div>
		<div class="d3">
			<div class="d3_1">{{list.otherNum}}</div>
			<div class="d3_2">外联服务数</div></div>
		
	 
	</div>
</template>

<script>
	"use strict";
	import {selectServiceNum} from '@/api/service.js';
	export default {
		data() {
			return {
				list:{},
				
			};
		},

		created() {
			this.getList();
		},
		methods: {
			getList() {
				selectServiceNum().then(response => {
					this.list = response.data.extend
				}).catch(error => {
					console.info("失败");
					console.info(error.message);
				});
			},
		},
	}
</script>

<style scoped>
	.d1{
		display:block;
		width:100%;
		height:113px;
		line-height: 113px;
		text-align:left;
		border-bottom:1px solid #E8EAEC ;
	}
	.d2{
		display:inline-block;
		width:50%;
		height:58px;
		line-height: 59px;
		text-align:center;
		border-right: 1px solid #E8EAEC;
		
	}
	.d3{
		display:inline-block;
		width:calc( 50% - 1px );
		height:58px;
		line-height: 59px;
		text-align:center;
	}
	
	.d1_1{
		background-image: url("@/assets/img/img_iconbg.png");
		height:77px;
		width:77px;
		display: inline-block;
		margin-left: 21px;
		margin-top:20px;
	}
	
	.d1_1{
		background-image: url("@/assets/img/img_iconbg.png");
		height:77px;
		width:77px;
		display: inline-block;
		margin-left: 21px;
		margin-top:20px;
		line-height: 77px;
		text-align: center;
	}
	.d1_1 i{
		height: 20px;
		width:24px;
		font-size:24px;
		color:#FFF;
	}

	.d1_2{
		margin-top:33px;
		margin-left: 15px;
		display: inline-block;
		vertical-align: top;
	}
	
	.d1_2_1{
		height: 31px;
		line-height: 31px;
		font-size: 24px;
		color:#6FD5EE;
	}
	.d1_2_2{
		height: 16px;
		line-height: 16px;
		font-size: 12px;
		margin-top:4px;
		color:#555555;
	}
	
	.d2 ,.d3{
		background-color: #FBFBFB;
	}
	.d2_1,.d3_1{
		height:24px;
		line-height: 24px;
		color:#5F90EB;
		font-size: 18px;
		margin-top:10px;
	}
	.d3_1{
		height:24px;
		line-height: 24px;
		color:#FBA800;
		font-size: 18px;
		margin-top:10px;
	}
	.d2_2,.d3_2{
		height:12px;
		line-height: 12px;
		color:#888888;
		font-size: 12px;
		
	}
	
	
</style>